import request from '@/utils/request'

// 查询GdGuideMoment列表
export function listGdGuideMoment(query) {
    return request({
        url: '/api/v1/gdguidemoment',
        method: 'get',
        params: query
    })
}

// 查询GdGuideMoment详细
export function getGdGuideMoment (ID) {
    return request({
        url: '/api/v1/gdguidemoment/' + ID,
        method: 'get'
    })
}


// 新增GdGuideMoment
export function addGdGuideMoment(data) {
    return request({
        url: '/api/v1/gdguidemoment',
        method: 'post',
        data: data
    })
}

// 修改GdGuideMoment
export function updateGdGuideMoment(data) {
    return request({
        url: '/api/v1/gdguidemoment/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdGuideMoment
export function delGdGuideMoment(data) {
    return request({
        url: '/api/v1/gdguidemoment',
        method: 'delete',
        data: data
    })
}

